$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;

.home {
  position: relative;
  width: 100%;
  .banner{
    width: 100%;
    position: relative;
    img{
      width: 100%;
      display: block;
      object-fit: cover;
    }
    .txt{
      position: absolute;
      left: 0;
      top:50%;
      transform: translateY(-50%);
      text-align: center;
      color:white;
      font-size: $fontSize_48;
      font-weight: bold;
      width: 100%;
      text-transform: capitalize;
    }
  }
  .section1{
    width: 90vw;
    margin: 6vw auto 8vw auto;
    .t{
      text-align: center;
      font-size: $fontSize_54;
      font-weight: bold;
      text-transform: capitalize;
    }
    .items{
      width:75vw;
      margin: 4vw auto 0 auto;
      display: flex;
      justify-content: space-between;
      .item{
        width: 23%;
        background-color: #F8F8F8;
        text-align: center;
        padding: 2vw 0;
        .st{
          font-size: $fontSize_24;
          font-weight: bold;
          text-transform: capitalize;
          margin: 20px 0 10px 0;
        }
        .des{
          width: 90%;
          margin: 0 auto;
          font-size: 12/19+vw;
          line-height: 1.4;
        }
      }
    }
  }
  .section2{
    background-color: #F8F8F8;
    padding: 6vw 5vw 8vw 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    .map{
      width:30vw;
      height: 30vw;
      border-radius: 50%;
    }
    .r{
      width:30vw;
      margin-left: 5vw;
      .t{
        font-size: $fontSize_48;
        font-weight: bold;
        text-transform: capitalize;
        text-align: center;
      }
      .form{
        margin-top: 1.5vw;
        .item{
          display: flex;
          position: relative;
          align-items: center;
          margin-bottom: 20px;
          border: 1px solid #000;
          border-radius: 30px;
          .pt{
            background-color: #000;
            width: 25%;
            padding: 5px 0;
            border-radius: 30px;
            color:white;
            text-align: center;
            font-size: $fontSize_22;
            text-transform: capitalize;
          }
          .line{
            width: 1px;
            height: 20px;
            background-color: #000;
            margin: 0 10px;
          }
          .sr{
            width: calc(75% - 22px);
            input{
              width: 100%;
              border: none;
              background-color: transparent;
              font-size: $fontSize_22;
            }
          }
        }
        .tag{
          width: 100%;
          border-radius: 30px;
          color:white;
          font-size: $fontSize_22;
          background-color: #000;
          text-align: center;
          padding: 8px 0;
          text-transform: capitalize;
          margin: 30px 0 20px 0;
        }
        .msg{
          position: relative;
          textarea{
            width: 90%;
            border-radius: 20px;
            border: 1px solid #000;
            height: 250px;
            resize: none;
            font-size: $fontSize_22;
            padding: 15px 5%;
            font-family: Arial,Microsoft YaHei,sans-serif;
          }
          .btn{
            position: absolute;
            right: 20px;
            bottom:20px;
            display: inline-block;
            background-color: #000;
            border-radius: 30px;
            color:white;
            font-size: $fontSize_14;
            padding:0 30px;
            line-height: 1.6;
            cursor: pointer;
            text-transform: uppercase;
          }
        }
        .notice{
          font-size: $fontSize_14;
          margin-top: 20px;
          span{
            color:#F00;
          }
        }
      }
    }
  }
  @media screen and (max-width: 1024px) {
    .banner{
      margin-top: 50px;
      .txt{
        font-size: 18px;
      }
      img{
        min-height: 100px;
      }
    }
    .section1{
      width: 90%;
      margin: 40px auto;
      .t{
        font-size: 20px;
      }
      .items{
        width: 100%;
        flex-wrap: wrap;
        .item{
          width: 100%;
          margin-top: 20px;
          padding: 30px 0;
          .icon{
            svg{
              width: 80px;
            }
          }
          .st{
            font-size: 18px;
          }
          .des{
            font-size: 14px;
            line-height: 1.5;
          }
        }
      }
    }
    .section2{
      flex-direction: column;
      padding: 0;
      .map{
        width: 100%;
        height: 200px;
        border-radius: 0;
      }
      .r{
        width: 90%;
        margin: 30px auto;
        .t{
          font-size: 20px;
        }
        .form{
          margin-top: 20px;
          .item{
            .pt{
              font-size: 14px;
              width: 30%;
            }
            .sr{
              width: calc(70% - 22px);
              input{
                font-size: 14px;
              }
            }
          }
          .tag{
            font-size: 14px;
            margin: 20px 0 10px 0;
          }
          .msg{
            textarea{
              font-size: 14px;
              height: 150px;
              padding: 15px 5%;
              width: 90%;
            }
            .btn{
              font-size: 14px;
            }
          }
          .notice{
            font-size: 14px;
            line-height: 1.8;
          }
        }
      }
    }
  }
}